/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.util;

import org.springframework.util.ClassUtils;

/**
 * 
 * @author haolw
 * @time 2017/07/28
 */
public abstract class ClassUtil {
	
	public static boolean isPrimitive(Class<?> clazz) {
		return ClassUtils.isPrimitiveOrWrapper(clazz) || clazz.isAssignableFrom(String.class);
	}
}
